package com.djakapm.swing.component.textarea;

import javax.swing.*;

public class TextAreaRowNumberLabel extends JLabel {
    public TextAreaRowNumberLabel(int num){
        this(""+num);
    }
    
    public TextAreaRowNumberLabel(String text){
        super(text);
        this.setHorizontalAlignment(SwingConstants.RIGHT);
        this.setVerticalAlignment(SwingConstants.TOP);
        this.setDoubleBuffered(true);
    }
}
